package com.buyantech.smweb.util;

import java.util.List;
import java.util.Locale;
import java.util.Map;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

import org.springframework.http.MediaType;
import org.springframework.web.servlet.View;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.web.servlet.view.ContentNegotiatingViewResolver;

public class MyContentNegotiatingViewResolver extends ContentNegotiatingViewResolver {

	@Override
	protected MediaType getMediaTypeFromFilename(String filename) {
		// TODO Auto-generated method stub
		return super.getMediaTypeFromFilename(filename);
	}

	@Override
	protected MediaType getMediaTypeFromParameter(String parameterValue) {
		// TODO Auto-generated method stub
		return super.getMediaTypeFromParameter(parameterValue);
	}

	@Override
	protected List<MediaType> getMediaTypes(HttpServletRequest request) {
		// TODO Auto-generated method stub
		return super.getMediaTypes(request);
	}

	@Override
	public int getOrder() {
		// TODO Auto-generated method stub
		return super.getOrder();
	}

	@Override
	protected void initServletContext(ServletContext servletContext) {
		// TODO Auto-generated method stub
		super.initServletContext(servletContext);
	}

	@Override
	public View resolveViewName(String viewName, Locale locale)
			throws Exception {
		// TODO Auto-generated method stub
		return super.resolveViewName(viewName, locale);
	}

	@Override
	public void setDefaultContentType(MediaType defaultContentType) {
		// TODO Auto-generated method stub
		super.setDefaultContentType(defaultContentType);
	}

	@Override
	public void setDefaultViews(List<View> defaultViews) {
		// TODO Auto-generated method stub
		super.setDefaultViews(defaultViews);
	}

	@Override
	public void setFavorParameter(boolean favorParameter) {
		// TODO Auto-generated method stub
		super.setFavorParameter(favorParameter);
	}

	@Override
	public void setFavorPathExtension(boolean favorPathExtension) {
		// TODO Auto-generated method stub
		super.setFavorPathExtension(favorPathExtension);
	}

	@Override
	public void setIgnoreAcceptHeader(boolean ignoreAcceptHeader) {
		// TODO Auto-generated method stub
		super.setIgnoreAcceptHeader(ignoreAcceptHeader);
	}

	@Override
	public void setMediaTypes(Map<String, String> mediaTypes) {
		// TODO Auto-generated method stub
		super.setMediaTypes(mediaTypes);
	}

	@Override
	public void setOrder(int order) {
		// TODO Auto-generated method stub
		super.setOrder(order);
	}

	@Override
	public void setParameterName(String parameterName) {
		// TODO Auto-generated method stub
		super.setParameterName(parameterName);
	}

	@Override
	public void setUseJaf(boolean useJaf) {
		// TODO Auto-generated method stub
		super.setUseJaf(useJaf);
	}

	@Override
	public void setUseNotAcceptableStatusCode(boolean useNotAcceptableStatusCode) {
		// TODO Auto-generated method stub
		super.setUseNotAcceptableStatusCode(useNotAcceptableStatusCode);
	}

	@Override
	public void setViewResolvers(List<ViewResolver> viewResolvers) {
		// TODO Auto-generated method stub
		super.setViewResolvers(viewResolvers);
	}

	
}
